﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="goods" EnableViewState="false" Codebehind="goods.aspx.cs" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<meta name="description" content="红阿婆-网友晒单，最新折扣促销商品，热销商品，淘宝免费投递商品，京东商城免费投递商品，易讯网免费投递商品，当当网免费投递商品，卓越网免费投递商品，淘宝商城各大商城免费投递商品信息。"/>
<meta name="Keywords" content="网友晒单，促销商品，折扣商品，热销商品，淘宝免费投递，淘宝商城免费投递，京东商城免费投递，卓越网免费投递，各大商场免费投递" />
 <link href="css/cr.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet"  href="css/main.css" type="text/css"/>
<script src="javascript/jquery-1.3.2.min.js" type="text/javascript"></script>
<script type="text/javascript">
/* jQuery图片预加载插件。 */
jQuery.fn.loadthumb = function(options) {
	options = $.extend({
		 src : ""
	},options);
	var _self = this;
	//_self.hide();
	var img = new Image();
	$(img).load(function(){
		_self.attr("src", options.src);
		_self.fadeIn("slow");
	}).attr("src", options.src);  //.atte("src",options.src)要放在load后面，
	return _self;
}

$(document).ready(function(){
	var $img = $("#myImgs");
	var i = 0;
    var arr=new Array();
	$("#imgpath > span ").each(function(j){
	  arr[j]=$(this).html();
	});
    var max=arr.length-1;
	showImg(arr[0]);
	/*下一张*/
	$(".nextLink").click(function(){
		i++;
		if(i > max ){
			i = 0;
		}
		showImg(arr[i]);
		return false;
	});
	/*上一张*/
	$(".prevLink").click(function(){
		i--;
		if( i < 0){
			i = max;
		}
		showImg(arr[i]);
		return false;
	});

	$("a").focus(function(){
		$(this).blur();
		return false;
	});

	function showImg(src) {
		$img.loadthumb({"src":src});//应用图片预加载技术
		//$(".CRrain").text(i+1);
	}

	showImg(0);//进入页面初始化
}); 

function checkComment()
{
   var content=$('#<%=txtComment.ClientID %>').val();
   if(content=="")
   {
        alert("请填写您对此商品的看法");
        return false;
   }else{
        return true;
   }
}
</script>
</head>

<body>
<form id="form1" runat="server">
<div id="wrap">
	<div id="header">
    	<div class="logo"><img src="images/logo.gif" /></div>
    </div>
    <div id="contant">
    	<div class="left_sider">
        	<div class="ind_lfbox01">
            	<div class="ind_nwestab">
           	    <ul>
                    	<li class="on"><a href="index.aspx" >阿婆推荐</a></li>
                    	<li ><a href="deliver.aspx">免费投递 </a></li>	
                  </ul>
                </div>
           <div class="info" style="height:auto"   >
           <%--   <div class="news_qtlg" style="height:auto;">
           	<div class="lf_indtype" >
                    	<h2 style="text-align:center">淘宝网7夕PK团，万件疯团，14小时挑战价格底线</h2>
              <p class="dat_fb" >hongapo发布于 2011-08-08 19:40:21 | 430 次阅读 | 100 次评论 <a href="#" target="_blank">快速浏览</a></p>
              <p class="dt_ft">
              淘宝超级团七夕大PK，
              </p>
                  </div>
                  <p class="img"><img src="images/mall/taobao.jpg" alt="淘宝" /></p>
                </div>
           
              <div class="pic_pro" id="procontent" style="text-align:center; height:auto" name="#img">
                   <div class="CRviewer">
		<img src="" id="myImgs"/>
		<div style="display:none" id="imgpath">
		<span>http://ws03.mbbimg.cn/gearband/201108/25/12050243/12050243_03.jpg</span>
		<span>http://ws05.mbbimg.cn/gearband/201108/25/12050243/12050243_08.jpg</span>
		<span>http://ws06.mbbimg.cn/gearband/201108/25/12050243/12050243_11.jpg</span>
		</div>
		<div class="hoverNav"> 
			<a class="prevLink" href="#img" ></a>
			<a class="nextLink"  href="#img"></a>
		</div>
</div>
                </div>--%>
                <%--
                <div class="bm_indtype"> </div>--%>
                <asp:Literal runat="server" ID="ltlContent"  ></asp:Literal>
                <!--评论开始 -->
                <div id="comment">
                 <div class="commentTite">现在评论此商品</div>
                    <div class="inputComent" style="width:100%">
                        <div class="row">
                        <label>您的大名：</label> <asp:TextBox runat="server" ID="txtName" MaxLength="10"></asp:TextBox>
                        </div>
                        <div class="row">
                        <label>您的邮箱：</label> <asp:TextBox runat="server" ID="txtMail" MaxLength="30"></asp:TextBox>
                        </div>
                        <div class="row">
                        <label>您的评论：</label> <asp:TextBox runat="server" ID="txtComment" Width="450" TextMode="MultiLine" Height="140" onkeyup="this.value = this.value.slice(0, 10)"></asp:TextBox>
                        </div>
                        <div style="width:100%; text-align:center"><asp:Button runat="server" Text="发表评论" 
                                ID="btnSend" Width="180px" onclick="btnSend_Click" OnClientClick="javascript:return checkComment()" /> <span style="color:Red">*(评论内容为必填项！)</span> </div>
                    </div>
                    <asp:Literal runat="server" ID="ltlComment"></asp:Literal>
                   <%-- <div class="commentTite" name="comment">共 14 条评论</div>
                    <div id="n_content">
                        <dl>
                          <dt class="h_author"><span><strong >第1楼：</strong> hongapohongapo 发表于 2011-09-01 01:20:00</span></dt>
                          <dd class="h_content">谁TM现在还赶着节吃月饼，要吃随时都能吃谁TM现在还赶着节吃月饼，要吃随时都能吃谁TM现在还赶着节吃月饼，要吃随时都能吃</dd>
                        </dl>
                    </div>--%>
                </div>
                  <!--评论结束 -->
                </div>
             </div>
        </div>
         <asp:Literal runat="server" ID="ltlHot"></asp:Literal>
        <%--<div class="right_sider">
        	<div class="rt_news_list">
            	<h3>人气最旺</h3>
                <ul class="rtnews_listul">
                	<li><a href="#"></a></li>
                </ul>
            </div>
        </div>--%>
    </div>
    
    <div class="foot">
    红阿婆 hongapo.com  粤ICP备11062407号-1  &nbsp;&nbsp;   Powered  by hongapo.com
    </div>
</div>
</form>
</body>
</html>
